package com.itkjb.leisurely.center.sys.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itkjb.leisurely.core.base.BaseModelWithOperationFields;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 组织结构
 * </p>
 *
 * @author itkjb.com
 * @since 2020-07-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_department")
@ApiModel(value="SysDepartmentModel-模型", description="组织结构")
public class SysDepartmentModel extends BaseModelWithOperationFields {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 组织名字
     */
    @ApiModelProperty(value = "组织名字")
    @TableField("`dep_name`")
    private String depName;

    /**
     * 组织机构代码
     */
    @ApiModelProperty(value = "组织机构代码")
    @TableField("`dep_code`")
    private String depCode;



}
